#if !defined(RESOURCEMODEL_H)
#define RESOURCEMODEL_H

#include "resource.h"
#include <d3dx9.h>

namespace gunsmith
{
/*! \class CResourceModel
	\brief Model resource. */
class CResourceModel : public CResource
{
public:
								CResourceModel	();
	virtual						~CResourceModel	();
	virtual bool				Create			(void *pSource);
	virtual void				Destroy			();
	ID3DXAnimationController*	GetAnimControl	()				const;
	D3DXFRAME*					GetFrameRoot	()				const;
	
private:
	ID3DXAnimationController	*m_pAnimCtrl;
	D3DXFRAME					*m_pFrameRoot;
};
};

#endif //RESOURCEMODEL_H